<?php
require_once '../../bbs/include/common.inc.php';
require_once '../../classes/include.php';

$id = intval($_GET["id"]);

//$db  = new dbClass;
//$db->db_connect();

$sql = "select * from video where id = '".$id."' limit 1";
$query = $db->query($sql);
$rs = $db->fetch_array($query);


$id			= $rs["id"];
$title		= $rs["title"];
$video_name	= $rs["video_name"];
$describes	= $rs["describes"];

?>
<html><head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="../../bbs/images/admincp/admincp.css" type="text/css" media="all" /> 
</head>
<body bgcolor="#FFFFFF" text="#000000">
  <table cellspacing=1 cellpadding=3 width="100%" align=center bgcolor="#CBDFF3" border=0>
    <tr class="tableheader"> 
      <td colspan="2">&nbsp;&nbsp;视频查看</td>
    </tr>
    <tr class="tablecontent"> 
      <td width="100" align="left">&nbsp;&nbsp;视频标题:</td>
      <td><?php echo $title?></td>
    </tr>
    <tr class="tablecontent"> 
      <td width="100" align="left">&nbsp;&nbsp;视频描述:</td>
      <td><?php echo $describes?></td>
    </tr>
    <tr class="tablecontent"> 
      <td colspan="2" align="left">&nbsp;&nbsp;视频文件:</td>
    </tr>
    
    <tr class="tablecontent"> 
      <td colspan="2"><?php echo $video_name?></td>
    </tr>
  </table>
  <BR>
  <table cellspacing=1 cellpadding=3 width="95%" align=center bgcolor="#FFFFFF" border=0>
    <tr> 
      <td colspan="2" align="center"> 
        <a href="./list.php">返回视频列表</a>
      </td>
    </tr>
  </table>
</body>
</html>